<%@ page language="java" contentType="text/html; charset=ISO-8859-15" pageEncoding="ISO-8859-15"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%> 
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-logic" prefix="logic" %>
<%@ taglib uri="http://displaytag.sf.net/el" prefix="display" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-15">
<title></title>
</head>
<body>
<script type="text/javascript">

function modificaSolicitud(form){
	document.getElementById("form1").action="newSolicitudRevista.do?action=modificaSolicitud";
	document.getElementById("form1").submit();
}

</script>


<h1>
	<bean:message key="label.title.resum.adquisicions" />
</h1>


<html:form styleId="form1" action="/newSolicitudRevista?action=saveNewSolicitud">

</br>
<h4>
	<bean:message key="label.title.dadesReserva" />
</h4>

<div id="datosReserva" >
	<fieldset>
	<span class="form_field">
		<b><bean:message key="label.text.centreResponsabilitat" /></b>
		<bean:write name="newSolicitudRevistaForm" property="centreResponsabilitat" />
	</span>
	<span class="form_field">
		<b><bean:message key="label.text.grupOrganizatiu" /></b>
		<bean:write name="newSolicitudRevistaForm" property="nomGrupOrganitzatiu" />
	</span>
	<span class="form_field">
		<font color="red" > <bean:message key="edit.required"/>  </font> 
		<b><bean:message key="label.text.personaSolicitant" /></b>
		<bean:write name="newSolicitudRevistaForm" property="personaSolicitant" />
	</span>
	</fieldset>

</div>

</br>


<h4>
	<bean:message key="label.title.resum.revistes" />
</h4>

<div id="divLlibres">

		<logic:notEmpty name="newSolicitudRevistaForm" property="revistes">
				 
				 <logic:iterate name="newSolicitudRevistaForm" property="revistes" id="revista">
							<fieldset>
							<table>	
								<tr>
									<td>
						 				<b><bean:message key="label.text.titol" /></b> <bean:write name="revista" property="titol" /> 
									</td>
									<td>
						 				<bean:message key="label.text.editorial" /></b> <bean:write name="revista" property="editorial" />  
									</td>
					 			</tr>
					 			<tr>
									<td>
						 				<b><bean:message key="label.text.lloc" /></b> <bean:write name="revista" property="lloc" />  
									</td>
									<td>
						 				<b><bean:message key="label.text.any" /></b> <bean:write name="revista" property="any" />
						 			</td>
					 			</tr>
					 			<tr>
									
									<td>
						 				<b><bean:message key="label.text.isbn" /></b> <bean:write name="revista" property="issn" />
						 			</td>
						 			<td>
						 				<b><bean:message key="label.text.url" /></b> <bean:write name="revista" property="url" />
									</td>
					 			</tr>
				 			</table> 
				 			</fieldset>	
				 </logic:iterate>
 		
		</logic:notEmpty>
	
		
</div>


<div id="divButtons" style="padding-top:10px;">	
	<html:button styleId="procesa2" property="modifica" onclick="modificaSolicitud(this);return false;" >  <bean:message key="label.button.modificaSolicitud" /> </html:button>
</div>

<div id="divButtons">
	<html:submit styleId="procesa3">  <bean:message key="label.button.confirmaSolicitud" /> </html:submit>
</div>

<div id="breadcrumb" class="clearfix" >
    <a href="Adquisicio.do?method=menuRevista" title="Home">Pas 1</a> >> <a href="newSolicitudRevista.do?action=modificaSolicitud" title="Home">Pas 2</a> >> <a href="#" title="Home"> Pas 3 </a>
</div>

</html:form>

</body>
</html>